from django.contrib import admin
from .models import NewsDetail, NewsTag
# Register your models here.


#将models中的类交由admin管理
class NewsDetailAdmin(admin.ModelAdmin):
    pass

admin.site.register(NewsDetail, NewsDetailAdmin)
admin.site.register(NewsTag, NewsDetailAdmin)